<?php
namespace Home\Controller;
use Think\Controller;

class BaseController extends Controller {

    public function _initialize(){
        $skey = ['site_title','site_content','site_keywords','site_shortcut_icon'];
        $data = D('Common/Setting')->getSettingByKey($skey, LANG_SET);

        $this->assign($data);
    }
}